package com.own.business.system.account.business.hook;

/**
 * SystemUserTextRegisterMethodHook
 *
 * @author chenxueli
 * @date 2023-12-26 13:50:15
 */
public interface SystemUserTextRegisterMethodHook {

    /**
     * 注册前置
     *
     * @param account  账号
     * @param password 账号
     * @param type     账号类型 1=普通用户 2=管理员
     * @return 用户id
     */
    Long beforeTextLogin(String account, String password, int type);

}
